Skip to content

)}

VirtualTimeSchedulerBase() constructor

Defined in

Type: VirtualTimeSchedulerBase Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

netstandard2.0

Overloads

  • 1. protected VirtualTimeSchedulerBase()
  • 2. protected VirtualTimeSchedulerBase(TAbsolute initialClock, IComparer<TAbsolute> comparer)

1. Overload

protected VirtualTimeSchedulerBase()

Summary: Creates a new virtual time scheduler with the default value of TAbsolute as the initial clock value.

2. Overload

protected VirtualTimeSchedulerBase(TAbsolute initialClock, IComparer<TAbsolute> comparer)

Summary: Creates a new virtual time scheduler with the specified initial clock value and absolute time comparer.

Parameters

NameTypeDescription
initialClockTAbsoluteInitial value for the clock.
comparerIComparerComparer to determine causality of events based on absolute time.

Exceptions

TypeCondition
System.ArgumentNullExceptioncomparer is null.